package com.app.shop.util;


import com.app.shop.entity.SysDict;

/**
 * @Author :chenliwei
 * @Description:
 * @Date: create in 21:48 2019-3-6.
 * @Modified by:
 */
public class DictModel {

    private Integer key;
    private String name;
    private Integer value;
    private Integer sort;

    public DictModel(){};

    public DictModel(SysDict sysDict){
        this.key= sysDict.getKeyCode();
        this.name=sysDict.getDictName();
        this.value=sysDict.getDictCode();
        this.sort=sysDict.getDispOrder();
    };


    public Integer getKey() {
        return key;
    }

    public void setKey(Integer key) {
        this.key = key;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}
